#!/usr/bin/env bash
# 清除之前运行数据
docker ps -q|awk '{print $1}'|xargs docker stop
docker ps -a -q|awk '{print $1}'|xargs docker rm


chmod 0777 -Rf /www/web/kf/Runtime/
chmod 0777 -Rf /www/web/spass/Application/Runtime/
chmod 0777 -Rf /www/web/gamebbs/Runtime/
chmod 0777 -Rf /www/web/gamebbs/public_html/html/
chmod 0777 -Rf /www/web/club/public_html/runtime/

service httpd start